//静态路由配置文件
import Index from "../views/Index.vue"
import User from "../views/user/Index.vue"
import NotFound from "../views/NotFound.vue"
export default [
    {
        path: "/",
        component: Index,
        name: "admin",
    },
    {
        path: "/user",
        component: User,
    },
    {
        path: "/404",
        component: NotFound,
    },
    {
        path: "/:pathMatch(.*)*", //vue2 * vue3 改为正则
        redirect: "/404",
    },
];